package com.dbs.donatebooksystem.Service;

import com.dbs.donatebooksystem.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {
      User login(User user) ;

    boolean InsertUser(User user);
    void UpdateUser(User user);
    List<User> selectUsers(Integer id,String account,String nickname);


    User selectAUser(int id);

    List<Map<String, Object>> selectUserStatu();

    void deleteUser(Integer id);

    User selectUserByAccount(String account);
}
